package model

type Company struct {
	BaseModal
	Name   string `gorm:"type:varchar(100);column:name" json:"name"`
	Code   string `gorm:"type:varchar(50);column:code" json:"code"`
	Parent int64  `gorm:"type:bigint;column:parent" json:"parent"`
}

func (c *Company) TableName() string {
	return "sys_company"
}
